package problem.nc068;

public class Solution {
    /*
    *   青蛙跳台阶
    * */
    public int jumpFloor(int target) {
        if(target == 0){
            return 0;
        }

        if(target == 1){
            return 1;
        }

        if(target == 2){
            return 2;
        }
        return jumpFloor(target - 1) + jumpFloor(target - 2);
    }
}